#ifndef  TESTGAME_APP_DELEGATE_H
#define  TESTGAME_APP_DELEGATE_H

#include "cocos2d.h"

class AppDelegate : private cocos2d::Application {
public:
    AppDelegate();
    virtual ~AppDelegate();

    virtual bool applicationDidFinishLaunching() override;
    virtual void applicationDidEnterBackground() override;
    virtual void applicationWillEnterForeground() override;

private:
    void onKeyReleased(cocos2d::EventKeyboard::KeyCode keycode,
                       cocos2d::Event *event);
    void dumpGLViewInfo();
};

#endif

